package cs9322.assign3.model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Payment {
	private int orderId;
	private String paymentType;
	private double paymentAmount;
	private String url;
	
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Payment(){};
	public Payment(int oid, String type, double amount,String detail){
		this.orderId = oid;
		this.paymentType = type;
		this.paymentAmount = amount;
		this.paymentDetail = detail;
	}
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public String getPaymentType() {
		return paymentType;
	}
	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}
	public double getPaymentAmount() {
		return paymentAmount;
	}
	public void setPaymentAmount(double paymentAmount) {
		this.paymentAmount = paymentAmount;
	}
	public String getPaymentDetail() {
		return paymentDetail;
	}
	public void setPaymentDetail(String paymentDetail) {
		this.paymentDetail = paymentDetail;
	}
	private String paymentDetail;
}
